﻿<controls:ChildWindow xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" 
                      x:Class="BuildARoute.Views.EditPOIWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="371" 
           Title="EditPOIWindow" Style="{StaticResource LogRegWindowStyle}">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <toolkit:DataForm  AutoEdit="True" Style="{StaticResource DataFormStyle}" CommandButtonsVisibility="None" CurrentItem="{Binding}" Grid.Row="0">
            
        </toolkit:DataForm>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="28" HorizontalAlignment="Right" Margin="0,7,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="30" HorizontalAlignment="Right" Margin="0,5,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>